package com.zcx.provider1.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;

/**
 * @author zhaochangxin
 * @date 2022/3/7 10:26
 * Rabbit MQ 配置类
 */
public class RabbitConfig {

    @Bean
    public Queue RabbitQueue() {
        return new Queue("internal_project_zcx_testMQ", true);
    }
}
